$(function() {

  var url = window.location.hostname
  
  if(window.location.hostname.lastIndexOf('.cn') > 0) {
    $("head").append("<link>");
    var toolbarCss = $("head").children(":last");
    toolbarCss.attr({
      rel: "stylesheet",
      href:  "resource/css/test.css"
    });

    $("title").html("飞腾会-测试");

    $(".alink[href='http://web.fita-club.com/']").attr("href", 'http://web.fita-club.cn/')
    $(".alink[href='http://web.fita-club.com/profile']").attr("href", 'http://web.fita-club.cn/profile')
    
  } 
})